<?php if (! empty($tourismList)) : ?>
    <div class="head-title"><i class="iconfont">&#xe627;</i>当地旅游特产推荐</div>
    <ul class="goods-list am-cf">
    <?php foreach($tourismList as $value) : ?>
        <li>
            <a href="<?php echo site_url('tourism/goods/info/'. $value->goods_attr_id); ?>">
                <img class="lazy" src="<?php echo $this->config->show_image_url(strstr($value->images, ',', true)); ?>">
                <div class="li-detail">
                    <p class="title overflow-line2"><?php echo $value->goods_name;?></p>
                    <div class="price">
                        <span class="now-price"><i class="unit">￥</i><?php echo $value->shop_price;?></span>
                        <span class="old-price"><i>￥</i><?php echo $value->market_price;?></span>
                    </div>
                </div>
            </a>

            <div class="buttons am-cf">
                <a href="<?php echo site_url('tourism/goods/info/'. $value->goods_attr_id); ?>" class="btn btn-tocart am-fl">加入购物车</a>
                <a href="<?php echo site_url('tourism/goods/info/'. $value->goods_attr_id); ?>" class="btn btn-buy am-fr">立即购买</a>
            </div>
        </li>
    <?php endforeach; ?>
    </ul>
<?php endif; ?>